/* 
 * File:   PointLight.h
 * Author: brady
 *
 * Created on August 20, 2011, 6:15 PM
 */

#ifndef POINTLIGHT_H
#define	POINTLIGHT_H

#include <lights/Light.h>


class PointLight : public Light {
public:
    PointLight();
    PointLight(const Vector3D& origin, const Vector3D& color);
    PointLight(const PointLight& orig);
    Vector3D getSamplePoint(const IntersectionResult& result) const;
    void setOrigin(const Vector3D& origin){this->origin = origin;}
    virtual ~PointLight();
private:
    Vector3D origin;

};

#endif	/* POINTLIGHT_H */

